<%if @tags.any?%>

      <%@tags.each do |t|%>
          <li class="list-group-item hint">
            <span onclick="selectTag(this)" data-id="<%=t.id%>" style="display: block"><%=t.name%></span>
          </li>
      <%end%>
    </ul>
<%end%>